<?php

/**
 * @Author: Wang chunsheng  email:2192138785@qq.com
 * @Date:   2023-06-06 14:39:32
 * @Last Modified by:   Wang chunsheng  email:2192138785@qq.com
 * @Last Modified time: 2023-06-21 11:24:01
 */

namespace Common\Models\Enums;

use Common\BaseEnum;

class DeviceTypeEnums extends BaseEnum
{
    const DeviceType01 =     1; //控制面板
    const DeviceType02 =     2; //插座
    const DeviceType03 =     3; //连接锁
    const DeviceType04 =     4; //磁感开关
    const DeviceType05 =     5; //群控锁

    const DeviceType06 =     6; //网关

    const DeviceType07 =     7; //门禁
    const DeviceType08 =     8; //视频监控

    const DeviceType30 =     30; //灯
    const DeviceType50 =     50; //灯端调光器
    const DeviceType40 =     40; //磁感计数器
    const DeviceType41 =     41; //温度采集器
    const DeviceType44 =     44; //人体红外传感器
    const DeviceType42 =     42; //智能计量插座
    const DeviceType45 =     45; //中继插座
    const DeviceType47 =     47; //墙插面板
    const DeviceType48 =     48; //零火开关
    const DeviceType70 =     70; //电子标签（墨水屏）  
    const DeviceType71 =     71; //透传模块
    /**
     * 71-80网关
     */
    const DeviceType80 =     80; //网关（代理节点）

    //    80-90 门锁
    const DeviceType81 =     81; //wifi门锁1、智能门锁
    const DeviceType82 =     82; //天津门锁
    const DeviceType83 =     83; //店滴智能门禁
    const DeviceType84 =     84; //通通智能门锁

    //    90-100 电表
    const DeviceType90 =     90; //雷总智能电表
    const DeviceType91 =     91; //任总智能电表
    //100-110 水表
    const DeviceType100 =    100;

    /**
     * 锁孔板
     * 110-120 售货柜
     */
    const DeviceType110 =    110;

    /**
     * @var array
     */
    public static array $list = [
        self::DeviceType01 =>     '控制面板',
        self::DeviceType02 =>     '插座',
        self::DeviceType03 =>     '连接锁',
        self::DeviceType04 =>     '磁感开关',
        self::DeviceType05 =>     '群控蓝牙锁',
        self::DeviceType06 =>     '网关',
        self::DeviceType07 =>     '门禁',
        self::DeviceType08 =>     '视频监控',
        self::DeviceType30 =>     '灯',
        self::DeviceType50 =>     '灯端调光器',
        self::DeviceType40 =>     '磁感计数器',
        self::DeviceType41 =>     '温度采集器',
        self::DeviceType44 =>     '人体红外传感器',
        self::DeviceType42 =>     '智能计量插座',
        self::DeviceType45 =>     '中继插座',
        self::DeviceType47 =>     '墙插面板',
        self::DeviceType48 =>     '零火开关',
        self::DeviceType70 =>     '电子标签（墨水屏）',
        self::DeviceType71 =>     '透传模块',
        self::DeviceType80 =>     '网关（代理节点）',
        self::DeviceType81 =>     'wifi门锁',
        self::DeviceType82 =>     '天津门锁',
        self::DeviceType83 =>     '店滴智能门禁',
        self::DeviceType84 =>     '通通智能门锁',
        self::DeviceType90 =>     '雷总智能电表',
        self::DeviceType91 =>     '任总智能电表',
        self::DeviceType100 =>     '水表',
        self::DeviceType110 =>     '锁孔板',
    ];
}
